using System;
public static class ExString
{
    public static String Color(this string str, string color)
    {
        return $"[color={color}]{str}[/color]";
    }
    public static String Center(this string str)
    {
        return $"[center]{str}[/center]";
    }
    public static String ToLeft(this string str)
    {
        return $"[left]{str}[/left]";
    }
    public static String ToRight(this string str)
    {
        return $"[right]{str}[/right]";
    }
}